package com.supergdtop.www.run.finaldata;

import android.graphics.Color;
import android.support.v4.content.ContextCompat;

import com.supergdtop.www.run.R;
import com.supergdtop.www.run.application.CardPoolApplication;


/**
 * 颜色
 * Created by Asum on 2016/5/31 0031.
 */
public class XColor extends Color {
    /**
     * 背景色
     */
    public static final int BACKGROUND = ContextCompat.getColor(CardPoolApplication.getCardPoolContext(), R.color.background);

    /**
     *  头像circle
     */
    public static  int  Circleround = ContextCompat.getColor(CardPoolApplication.getCardPoolContext(), R.color.cicelground);

    /**
     * 标题栏颜色
     */
    public static int TOPBAR = ContextCompat.getColor(CardPoolApplication.getCardPoolContext(), R.color.topbar);

    /**
     * 波纹扩散颜色
     */
    public static int SPREAD = ContextCompat.getColor(CardPoolApplication.getCardPoolContext(), R.color.spread);

    /**
     * 透明度为20%的黑色
     */
    public static final int TRANSLUCENCE_BLACK_20 = ContextCompat.getColor(CardPoolApplication.getCardPoolContext(), R.color.translucence_black_20);

    /**
     * 透明度为50%的黑色
     */
    public static int TRANSLUCENCE_BLACK_70 = ContextCompat.getColor(CardPoolApplication.getCardPoolContext(), R.color.translucence_black_70);

    /**
     * 透明度为90%的黑色
     */
    public static int TRANSLUCENCE_BLACK_90 = ContextCompat.getColor(CardPoolApplication.getCardPoolContext(), R.color.translucence_black_90);

    /**
     * 透明度为10%的白色
     */
    public static int TRANSLUCENCE_WHITE_10 = ContextCompat.getColor(CardPoolApplication.getCardPoolContext(), R.color.translucence_white_10);

    /**
     * 透明度为25%的白色
     */
    public static int TRANSLUCENCE_WHITE_25 = ContextCompat.getColor(CardPoolApplication.getCardPoolContext(), R.color.translucence_white_25);

    /**
     * 透明度为40%的红色
     */
    public static final int TRANSLUCENCE_RED_40 = ContextCompat.getColor(CardPoolApplication.getCardPoolContext(), R.color.translucence_red_40);

    /**
     * 红色1
     */
    public static final int RED_1 = ContextCompat.getColor(CardPoolApplication.getCardPoolContext(), R.color.red_1);

    /**
     * 透明
     */
    public static int LUCENCY = ContextCompat.getColor(CardPoolApplication.getCardPoolContext(), R.color.lucency);

    /**
     * 字体颜色-白
     */
    public static int TEXT_WHITE = ContextCompat.getColor(CardPoolApplication.getCardPoolContext(), R.color.text_white);

    /**
     * 字体颜色-黑
     */
    public static int TEXT_BLACK = ContextCompat.getColor(CardPoolApplication.getCardPoolContext(), R.color.text_black);

    /**
     * 字体颜色-灰
     */
    public static int TEXT_GRAY = ContextCompat.getColor(CardPoolApplication.getCardPoolContext(), R.color.text_gray);
}
